/////////////////////////////////////////////////////////////////////////////
/*/	
 *	Creator:		Joshua C. Rouzer
 *	Title:			Moving Object Header
 *	Last Edited:	06/14/2013
 *	Summary:		Adds variables to let the object move
/*/
/////////////////////////////////////////////////////////////////////////////
#ifndef CMOVE_H
#define CMOVE_H
#include "BaseClass.h"
#include "SPosition.h"


class CMovingObject : public CBaseClass
{
	float m_fVelX;
	float m_fVelY;
	int m_nPath;

public:
	CMovingObject();
	virtual ~CMovingObject();
	virtual void Update(float dT);
	virtual void Render();
	bool CheckCollision(CBaseClass *check);
	void  SetVelX	(float fVelX)	{m_fVelX = fVelX;}
	void  SetVelY	(float fVelY)	{m_fVelY = fVelY;}
	void  SetPath	(int nPath)		{m_nPath = nPath;}
	float GetVelX	()				{return m_fVelX;}
	float GetVelY	()				{return m_fVelY;}
	int	  GetPath	()				{return m_nPath;}
	int DistanceBetween(SPosition one, SPosition two);
};
#endif